@echo off
set MATLAB=C:\PROGRA~1\MATLAB\R2013a
set MATLAB_ARCH=win64
set MATLAB_BIN="C:\Program Files\MATLAB\R2013a\bin"
set ENTRYPOINT=mexFunction
set OUTDIR=.\
set LIB_NAME=ode78_chen__mex
set MEX_NAME=ode78_chen__mex
set MEX_EXT=.mexw64
call mexopts.bat
echo # Make settings for ode78_chen_ > ode78_chen__mex.mki
echo COMPILER=%COMPILER%>> ode78_chen__mex.mki
echo COMPFLAGS=%COMPFLAGS%>> ode78_chen__mex.mki
echo OPTIMFLAGS=%OPTIMFLAGS%>> ode78_chen__mex.mki
echo DEBUGFLAGS=%DEBUGFLAGS%>> ode78_chen__mex.mki
echo LINKER=%LINKER%>> ode78_chen__mex.mki
echo LINKFLAGS=%LINKFLAGS%>> ode78_chen__mex.mki
echo LINKOPTIMFLAGS=%LINKOPTIMFLAGS%>> ode78_chen__mex.mki
echo LINKDEBUGFLAGS=%LINKDEBUGFLAGS%>> ode78_chen__mex.mki
echo MATLAB_ARCH=%MATLAB_ARCH%>> ode78_chen__mex.mki
echo BORLAND=%BORLAND%>> ode78_chen__mex.mki
echo OMPFLAGS= >> ode78_chen__mex.mki
echo OMPLINKFLAGS= >> ode78_chen__mex.mki
echo EMC_COMPILER=msvc100>> ode78_chen__mex.mki
echo EMC_CONFIG=optim>> ode78_chen__mex.mki
"C:\Program Files\MATLAB\R2013a\bin\win64\gmake" -B -f ode78_chen__mex.mk
